package Code.Objects.Characters.Player.Skins;

import org.jrabbit.standard.game.graphics.skins.animation.AnimatedSkin;

public class PlayerFeetSkin extends AnimatedSkin
{
	protected void setup()
	{
		setList(new String[] {
								"Resources/Images/Characters/Player/Feet/Standing.png",
								"Resources/Images/Characters/Player/Feet/Running 1.png",
								"Resources/Images/Characters/Player/Feet/Running 2.png",
								"Resources/Images/Characters/Player/Feet/Running 3.png",
								"Resources/Images/Characters/Player/Feet/Running 4.png",
								"Resources/Images/Characters/Player/Feet/Running 5.png",
								"Resources/Images/Characters/Player/Feet/Running 6.png",
								"Resources/Images/Characters/Player/Feet/Running 7.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 2.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 3.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 4.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 5.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 6.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 7.png",
								"Resources/Images/Characters/Player/Feet/Sidestep 8.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 1.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 2.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 3.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 4.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 5.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 6.png",
								"Resources/Images/Characters/Player/Feet/Run Forward Diagonal 7.png",
								"Resources/Images/Characters/Player/Feet/Backstep 1.png",
								"Resources/Images/Characters/Player/Feet/Backstep 2.png",
								"Resources/Images/Characters/Player/Feet/Backstep 3.png",
								"Resources/Images/Characters/Player/Feet/Backstep 4.png",
								"Resources/Images/Characters/Player/Feet/Backstep 5.png",
								"Resources/Images/Characters/Player/Feet/Back Diagonal 1.png",
								"Resources/Images/Characters/Player/Feet/Back Diagonal 2.png",
								"Resources/Images/Characters/Player/Feet/Back Diagonal 3.png",
								"Resources/Images/Characters/Player/Feet/Back Diagonal 4.png",
								"Resources/Images/Characters/Player/Feet/Back Diagonal 5.png"
		});
		
		setIndex(new int[][] {
				{0},														// Standing still.
				{1, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 3, 2, 1},					// Walking Forward.
				{15, 16, 17, 18, 19, 20, 21, 21, 20, 19, 18, 17, 16, 15},	// Forward Diagonal.
				{0, 8, 9, 10, 11, 12, 13, 14},								// Strafing.
				{22, 23, 24, 25, 26, 26, 25, 24, 23, 22},					// Backstep.
				{27, 28, 29, 30, 31, 31, 30, 29, 28, 27}					// Back Diagonal
				});
		
		setAnimationRate(500);
	}
}
